package com.yxinsur.imc.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yxinsur.imc.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

@Data
public class ImcBrokerRoleImport {
    @Excel(name = "代理人姓名")
    private String brokerName;
    @Excel(name = "代理人编码")
    private String brokerCode;
    @Excel(name = "职级")
    private String roleName;
    /** 代理人身份角色生效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "代理人身份职级生效日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date brokerRoleStart;

    /** 代理人身份角色截止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "代理人身份职级截止日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date brokerRoleEnd;
}
